package com.yami.shop.bean.meituan;

import lombok.Data;

import java.util.Date;

@Data
public class MeiTuanOrderStatus {
    /**
     * 主键
     */
    private Long id;
    /**
     * 配送活动标识
     */
    private String delivery_id;

    /**
     * 美团配送内部订单id，最长不超过32个字符
     */
    private String mt_peisong_id;

    /**
     * 外部订单号，最长不超过32个字符
     */
    private String order_id;

    /**
     * 订单状态代码
     */
    private String status;

    /**
     * 配送员姓名（订单已被骑手接单后会返回骑手信息）
     */
    private String courier_name;

    /**
     * 配送员电话（订单已被骑手接单后会返回骑手信息）
     */
    private String courier_phone;

    /**
     * 取消原因id
     */
    private int cancel_reason_id;

    /**
     * 取消原因详情，最长不超过256个字符
     */
    private String cancel_reason;

    /**
     *创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDelivery_id() {
        return delivery_id;
    }

    public void setDelivery_id(String delivery_id) {
        this.delivery_id = delivery_id;
    }

    public String getMt_peisong_id() {
        return mt_peisong_id;
    }

    public void setMt_peisong_id(String mt_peisong_id) {
        this.mt_peisong_id = mt_peisong_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCourier_name() {
        return courier_name;
    }

    public void setCourier_name(String courier_name) {
        this.courier_name = courier_name;
    }

    public String getCourier_phone() {
        return courier_phone;
    }

    public void setCourier_phone(String courier_phone) {
        this.courier_phone = courier_phone;
    }

    public int getCancel_reason_id() {
        return cancel_reason_id;
    }

    public void setCancel_reason_id(int cancel_reason_id) {
        this.cancel_reason_id = cancel_reason_id;
    }

    public String getCancel_reason() {
        return cancel_reason;
    }

    public void setCancel_reason(String cancel_reason) {
        this.cancel_reason = cancel_reason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
